
package cn.edu.scau.cmi.hombio.dao;

import cn.edu.scau.cmi.hombio.domain.RoleAuthority;

import java.util.Set;

import org.skyway.spring.util.dao.JpaDao;

import org.springframework.dao.DataAccessException;

/**
 * DAO to manage RoleAuthority entities.
 * 
 */
public interface RoleAuthorityDAO extends JpaDao<RoleAuthority> {

	/**
	 * JPQL Query - findRoleAuthorityByMeno
	 *
	 */
	public Set<RoleAuthority> findRoleAuthorityByMeno(String meno) throws DataAccessException;

	/**
	 * JPQL Query - findRoleAuthorityByMeno
	 *
	 */
	public Set<RoleAuthority> findRoleAuthorityByMeno(String meno, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRoleAuthorityByAdd
	 *
	 */
	public Set<RoleAuthority> findRoleAuthorityByAdd(Boolean add) throws DataAccessException;

	/**
	 * JPQL Query - findRoleAuthorityByAdd
	 *
	 */
	public Set<RoleAuthority> findRoleAuthorityByAdd(Boolean add, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRoleAuthorityByDelete
	 *
	 */
	public Set<RoleAuthority> findRoleAuthorityByDelete(Boolean delete) throws DataAccessException;

	/**
	 * JPQL Query - findRoleAuthorityByDelete
	 *
	 */
	public Set<RoleAuthority> findRoleAuthorityByDelete(Boolean delete, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findAllRoleAuthoritys
	 *
	 */
	public Set<RoleAuthority> findAllRoleAuthoritys() throws DataAccessException;

	/**
	 * JPQL Query - findAllRoleAuthoritys
	 *
	 */
	public Set<RoleAuthority> findAllRoleAuthoritys(int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRoleAuthorityByPrimaryKey
	 *
	 */
	public RoleAuthority findRoleAuthorityByPrimaryKey(Integer id) throws DataAccessException;

	/**
	 * JPQL Query - findRoleAuthorityByPrimaryKey
	 *
	 */
	public RoleAuthority findRoleAuthorityByPrimaryKey(Integer id, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRoleAuthorityByEdit
	 *
	 */
	public Set<RoleAuthority> findRoleAuthorityByEdit(Boolean edit) throws DataAccessException;

	/**
	 * JPQL Query - findRoleAuthorityByEdit
	 *
	 */
	public Set<RoleAuthority> findRoleAuthorityByEdit(Boolean edit, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRoleAuthorityByMenoContaining
	 *
	 */
	public Set<RoleAuthority> findRoleAuthorityByMenoContaining(String meno_1) throws DataAccessException;

	/**
	 * JPQL Query - findRoleAuthorityByMenoContaining
	 *
	 */
	public Set<RoleAuthority> findRoleAuthorityByMenoContaining(String meno_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRoleAuthorityById
	 *
	 */
	public RoleAuthority findRoleAuthorityById(Integer id_1) throws DataAccessException;

	/**
	 * JPQL Query - findRoleAuthorityById
	 *
	 */
	public RoleAuthority findRoleAuthorityById(Integer id_1, int startResult, int maxRows) throws DataAccessException;

	/**
	 * JPQL Query - findRoleAuthorityByCheck
	 *
	 */
	public Set<RoleAuthority> findRoleAuthorityByCheck(Boolean check) throws DataAccessException;

	/**
	 * JPQL Query - findRoleAuthorityByCheck
	 *
	 */
	public Set<RoleAuthority> findRoleAuthorityByCheck(Boolean check, int startResult, int maxRows) throws DataAccessException;

}